<script setup lang="ts">
	import watermark from '@/utils/lib/watermark';
	// 全局禁止复制粘贴
	import copyPaste from '@/utils/lib/copy-paste';

	onBeforeUnmount(() => {
		copyPaste.enable();
	});
	onMounted(() => {
		copyPaste.disable();
		watermark.add({ content: '黄强' + '18211303480' });
	});

	onBeforeUnmount(() => {
		watermark.remove();
	});
</script>

<template>
	<router-view />
</template>
